<template>
  <a class="uni-forget text-center"
     :href="link"
     target="_blank">{{ $tt("CAN'T SIGN IN?") }}</a>
</template>

<script>
import getEnv from "@/utils/env";
import {endUserLicenseAgreement, privacyPolicy} from "@/utils/links";

export default {
  name: 'CanNotSignIn',
  components: {},
  props: {
  },
  data () {
    return {
      endUserLicenseAgreement,
      privacyPolicy,
      getEnv,
      link: ''
    }
  },
  watch: {},
  computed: {
  },
  created () {
    const rootProps =  this.$root.$options.props
    const userCenterHost = getEnv(rootProps.mode.type) && getEnv(rootProps.mode.type).userCenterHost
    const lang = rootProps.language.type
    this.link = `${userCenterHost}/resetPassword?lang=${lang}`
  },
  mounted () {
  },
  methods: {
  },
  beforeDestroy () {
  }
}
</script>
<style scoped lang="scss">
.uni-forget{
  display: block;
  color: #b8b8b8;
  text-decoration: none;
  transition: .3s;
  &:hover{
    color: #fff;
  }
}
</style>
